package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.SyncCustomerJob;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SyncCustomerJobMapper {
    int deleteById(@Param("id") Long id);

    int insert(SyncCustomerJob record);

    int insertSelective(SyncCustomerJob record);

    SyncCustomerJob selectById(@Param("id") Long id);

    SyncCustomerJob selectByDeviceUniqueIdAndStatus(@Param("deviceUniqueId") Long deviceUniqueId, @Param("status") Integer status);

    int updateByIdSelective(SyncCustomerJob record);

    int updateById(SyncCustomerJob record);
}